package com.migo.service;

import com.migo.entity.SparePartEntity;

import java.util.List;
import java.util.Map;

/**
 * 备件清单
 * 
 * @author powervision
 * @email wes.wang@powervision.me
 * @date 2018-12-18 11:48:05
 */
public interface SparePartService {
	
	SparePartEntity queryObject(Integer id);
	
	List<SparePartEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(SparePartEntity sparePart);
	
	void update(SparePartEntity sparePart);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
}
